package com.niuwa.p2p.dao.channel;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.channel.LoanClaimDetail;
import com.niuwa.p2p.vo.business.LoanClaimPlanInfoVo;
@MyBatisDao
public interface LoanClaimDetailDao {
    int deleteByPrimaryKey(String projectNo);

    int insert(LoanClaimDetail record);

    int insertSelective(LoanClaimDetail record);

    LoanClaimDetail selectByPrimaryKey(String projectNo);

    int updateByPrimaryKeySelective(LoanClaimDetail record);

    int updateByPrimaryKey(LoanClaimDetail record);
    
    /**
     * @Description: 获取风控相关信息
     * add by bwz at 2015年4月23日
     * @param projectNo
     * @return
     * @throws Exception
     */
    public LoanClaimDetail getRiskInfo(String projectNo) throws Exception;
    
    
    /**
     * @Description: 前台获取项目详情 
     * add by bwz at 2015年4月23日
     * @param projectNo
     * @return
     * @throws Exception
     */
    public LoanClaimPlanInfoVo getLoanClaimInfo(String projectNo) throws Exception;
}